Security News
Python Overtakes JavaScript as Top Programming Language on GitHub
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
@json-schema-tools/meta-schema
Advanced tools
JSON Schema Meta Schema & Generated types for typescript, rust, golang and python
This repo contains the json schema meta schema and code to package it on npm, generate typings, etc.
npm install --save @json-schema-tools/meta-schema
go get github.com/json-schema-tools/meta-schema
cargo install json_schema
import JSONSchema, { JSONSchemaObject, Properties, Items } from "@json-schema-tools/meta-schema"
let foo = r#"{
"title": "helloworld",
"type": "string"
}"#;
let as_json_schema: JSONSchemaObject = serde_json::from_str(foo).unwrap();
let schema = JSONSchemaObjectBuilder::default()
.title("foobar".to_string())
._type(Type::SimpleTypes(SimpleTypes::String))
.build()
.unwrap();
let as_str = serde_json::to_string(&schema).unwrap();
How to contribute, build and release are outlined in CONTRIBUTING.md, BUILDING.md and RELEASING.md respectively. Commits in this repository follow the CONVENTIONAL_COMMITS.md specification.
FAQs
JSON Schema Meta Schema & Generated types for typescript, rust, golang and python
We found that @json-schema-tools/meta-schema demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
Security News
Dutch National Police and FBI dismantle Redline and Meta infostealer malware-as-a-service operations in Operation Magnus, seizing servers and source code.
Research
Security News
Socket is tracking a new trend where malicious actors are now exploiting the popularity of LLM research to spread malware through seemingly useful open source packages.